import request from '@/utils/request'

export function getBasicData() {
    return request({
        url: '/home/data',
        method: 'GET'
    })
}

// 默认显示过去六个月阅读量
export function getMonthViews(params) {
    return request({
        url: '/home/mon_data',
        method: 'GET',
        params
    })
}
